* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/*HEADER*/
.logo {
  height: 80px;
  width: 50px;
}

.name a {
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.name a:hover {
  text-decoration: none;
  color: pink;
}

.logo:hover {
  filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.1));
}

.name {
  position: absolute;
  font-size: 25px;
  text-align: center;
  padding: 0px;
  font-family: "Italiana", sans-serif;
}

.a .name:hover {
  color: palevioletred;
}

.italiana-regular {
  font-family: "Italiana", sans-serif;
  font-weight: 40px;
  font-style: normal;
}

svg {
  position: absolute;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding: 0px 0px;
  padding-right: -60px;
  display: flex;
  animation-name: slideIn;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  /*animation-play-state: paused;*/
}

@keyframes slideIn {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}
.svg1 {
  width: 50px;
  position: absolute;
  /*padding-right: calc(-200px);*/
  padding: 0px 0px;
  margin-left: 15px;
  margin-top: 25px;
  animation-name: slideAt;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

@keyframes slideAt {
  0% {
    transform: translateX(15%);
  }
  100% {
    transform: translateX(100%);
  }
}
@media screen and (min-width: 768px) {
  .header {
    height: 80px;
    width: 100vw;
  }
}
header {
  height: 80px;
  width: 100vw;
  display: flex;
  position: relative;
  color: black;
  background-color: rgba(255, 243, 243, 0.4);
  justify-content: space-between;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 0px 0px;
}

.nav {
  width: 30vw;
  display: flex;
  justify-content: space-evenly;
  position: relative;
  align-items: center;
}

header li {
  list-style: none;
}

li a {
  color: rgb(0, 0, 0);
  padding: 10px;
  font-weight: bold;
  text-decoration: none;
  text-decoration: none;
}

li a:hover {
  background-color: #000000;
  border-radius: 4px;
  color: white;
}

.subMenu {
  display: none;
  position: absolute;
  width: 320px;
}

.course:hover .subMenu {
  display: block;
  box-shadow: 10px 10px 8px gray;
  padding: 15px;
  background-color: rgba(255, 251, 251, 0.75);
  line-height: 30px;
  border-radius: 20px;
}

.sb {
  position: relative;
}

.subMenu3 {
  display: none;
  position: absolute;
  width: 350px;
  right: 30px;
}

.course3:hover .subMenu3 {
  display: block;
  box-shadow: 10px 10px 8px gray;
  padding: 15px;
  background-color: rgba(255, 251, 251, 0.75);
  line-height: 35px;
  border-radius: 20px;
}

.sb3 {
  position: relative;
}

.course4 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.course4 svg {
  margin-top: -15px;
  margin-left: -15px;
  width: 28px;
  height: 28px;
  animation: none;
  transition: none;
}

.course4:hover {
  background-color: transparent;
  border-radius: 0;
}

.navigation svg {
  position: relative;
  top: 0;
}

.navigation_svg {
  width: 50px;
  height: 50px;
  background-color: none;
}

li a svg:hover {
  background-color: white;
  border-radius: 4px;
  padding: 5px;
}

@media screen and (max-width: 1440px) and (min-width: 768px) {
  .hamburger {
    display: none;
  }
}
/* Mobile Styles */
@media screen and (max-width: 768px) {
  header {
    background-color: transparent;
    box-shadow: none;
  }
  .nav {
    width: 20vw;
    flex-direction: column;
    background-color: rgba(255, 243, 243, 0.9);
    position: absolute;
    top: 0px;
    left: 80%;
    padding-top: 10px;
    box-shadow: none;
  }
  .nav li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }
  /* Hide submenus by default */
  .subMenu, .subMenu3 {
    display: none;
    position: static;
    width: 100%;
    box-shadow: none;
    background-color: transparent;
    padding: 10px 0;
  }
  .course:hover .subMenu, .course3:hover .subMenu3 {
    display: block;
    padding-left: 0;
  }
  /* Hamburger Menu (Mobile Navigation Toggle) */
  .hamburger {
    display: block;
    cursor: pointer;
    padding: 10px;
    background-color: transparent;
    border: none;
  }
  .hamburger .bar {
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #000;
    border-radius: 5px;
  }
  /* Toggle Menu Visibility */
  .nav.active {
    display: block;
  }
  .nav li a {
    font-size: 16px;
    padding: 15px 0;
  }
  /* Sign-in Icon */
  .course4 svg {
    width: 25px;
    height: 25px;
  }
}
body {
  margin: 0;
  padding: 0;
  background-color: rgba(124, 54, 27, 0.2);
  color: #333;
}

/* Center the heading at the top of the page */
.food-heading {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  text-align: center;
  font-family: "Italiana", sans-serif;
  border-radius: 5%;
}

.food-heading h1 {
  font-size: 2.5em;
  margin: 0;
  color: #37495e;
}

/* Main section with CSS Grid */
.mainSection {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two sections per row */
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
}

.mainSection .image-container {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 5%;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.mainSection .image-container:hover {
  transform: translateY(-10px); /* Lift effect on hover */
}

.mainSection .image-container img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease; /* Smooth transition on hover */
}

.mainSection .image-container img:hover {
  transform: scale(1.1); /* Zoom in on hover */
}

/* Text overlay */
.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0.9;
  border-radius: 5%;
}

.text-overlay h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.text-overlay p {
  font-size: 1.1em;
  line-height: 1.5;
}

/* Responsive Design: on small screens in one section */
@media (max-width: 768px) {
  .mainSection {
    grid-template-columns: 1fr; /* Stack sections on small screens */
  }
}/*# sourceMappingURL=food to try.css.map */